package com.zjj.learn.designmodel.pattern.builder.demo1;

/**摩拜单车Builder
 * *** @author zjj_admin
 * *** 2022/4/7 21:37
 */
public class MobikeBuilder extends Builder {
    @Override
    public void buildFrame() {
        bike.setFrame("铝合金车架");

    }

    @Override
    public void buildSeat() {
        bike.setSeat("真皮车座");
    }

    @Override
    public Bike createBike() {
        return bike;
    }
}
